package com.example.mybatis_demo.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatis_demo.po.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@DS("datasource1")
public interface UserDao extends BaseMapper<User> {
    User getById(User param);
}
